package perform.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import perform.constants.Index;
import perform.constants.Types;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Column {
	
	public String name() default "";
	
	public Types type() default Types.NOT_SPECIFIED;
	
	public int length() default 0;
	
	public int precision() default 0;
	
	public String defaultValue() default "";
	
	public boolean nullable() default true;
	
	public Index index() default Index.NONE;

}
